import Vue from "vue";
import router from "vue-router";
Vue.use(router);
import indexOne from "../../components/index1.vue";
import indexTwo from "../../components/player";
import sonOne from "../../components/sonOne";
import sonTwo from "../../components/sonTwo";
import sonThree from "../../components/sonThree";
import sonfour from "../../components/sonfour";
import sonpenta from "../../components/sonpenta";
import songListB from "../../components/SongListB";
import songListB2 from "../../components/SongListB2";
import songListB3 from "../../components/SongListB3";
import songListB4 from "../../components/SongListB4";
import songListB5 from "../../components/songListB5";
import songListB6 from "../../components/songListB6";
export default new router({
	routes: [{
			path: "/",
			component: indexOne,
			children: [{
					path: "",
					component: sonOne
				},

			]
		},
		{
			path: "/indexOne", //大页面
			component: indexOne, //拼接
			children: [{
					path: "",
					component: sonOne
				}, //默认页面
//				{
//					path: "indexTwo",
//					component: indexTwo
//				}, //我的
				{
					path: "sonOne",
					component: sonOne
				}, //精选
				{
					path: "sonTwo",
					component: sonTwo
				}, //歌单
				{
					path: "sonThree",
					component: sonThree
				}, //排行
				{
					path: "sonfour",
					component: sonfour
				}, //電臺
				{
					path: "sonpenta",
					component: sonpenta
				}, //MV
			]
		},
		{
			path: "/indexTwo",
			component: indexTwo,
		},
		{
			path: "/songListB",
			component: songListB,
		},
		{
			path: "/songListB2",
			component: songListB2,
		},
		{
			path: "/songListB3",
			component: songListB3,
		},
		{
			path: "/songListB4",
			component: songListB4,
		},
		{
			path: "/songListB5",
			component: songListB5,
		},
		{
			path: "/songListB6",
			component: songListB6,
		},
	]
})